package aochulai.qisiren;

import baseFx.springboot.FxSpringApplication;
import baseFx.springboot.context.WebApplicationContext;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class App extends FxSpringApplication {
//    public final static String domain = "http://119.23.44.251";
    public final static String domain = "https://www.huangxunhui.com/qisiren";
    private static App app = new App();

    public static void main(String[] args) {
        app.isContextWithRequest = true;
        app.run(args);
    }

    @Override
    protected void initApplicationContext(WebApplicationContext context) {
        super.initApplicationContext(context);
    }

    @Override
    protected Integer getPort() {
        return Integer.parseInt(System.getProperty("port", "9290"));
    }
}
